package com.zgscwjm.taobaphelper;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

/**
 * Created by zgscwjm on 17-3-1.
 */
public class click_taobaoupdate implements View.OnClickListener {

    final MainActivity mainActivity;

    public click_taobaoupdate(MainActivity mainActivity) {
        this.mainActivity = mainActivity;
    }

    @Override
    public void onClick(View v) {
        Intent intent = new Intent(this.mainActivity,UpdateActivity.class);
        Bundle bundle = new Bundle();
        //// FIXME: 17-3-1 这里到时候换成UpdateActivity里面的值
        bundle.putInt("step",9001);
        bundle.putInt("actionType",505);
        intent.putExtras(bundle);
        this.mainActivity.startActivity(intent);
    }
}
